dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f85146a
)
Patch that fixes bug number 14452. patch by AhmadSherif.
author
Mohamed Magdy
<alnokta@users.mediawiki.org>
Mon, 23 Jun 2008 22:39:49 +0000
(22:39 +0000)
committer
Mohamed Magdy
<alnokta@users.mediawiki.org>
Mon, 23 Jun 2008 22:39:49 +0000
(22:39 +0000)
includes/parser/Parser.php
patch
|
blob
|
history
diff --git
a/includes/parser/Parser.php
b/includes/parser/Parser.php
index
4daa8f2
..
43e3b22
100644
(file)
--- a/
includes/parser/Parser.php
+++ b/
includes/parser/Parser.php
@@
-3706,6
+3706,12
@@
class Parser
$tz = date( 'T', $unixts ); # might vary on DST changeover!
putenv( 'TZ='.$oldtz );
}
+
+ $ctz = wfMsgForContent('timezone');
+ if (!wfEmptyMsg('timezone', $ctz)) {
+ $tz = $ctz;
+ }
+
$d = $wgContLang->timeanddate( $ts, false, false ) . " ($tz)";
# Variable replacement